﻿<div ng-controller="Umbraco.PropertyEditors.UrlListController">
    <ul class="nav nav-stacked">
        <li ng-repeat="value in renderModel">
            <a href="{{getUrl(value.url)}}" prevent-default="{{value.url.indexOf('/') == -1}}" target="{{value.urlTarget}}">
                <i ng-class="value.icon"></i>
                <span ng-if="value.linkText">{{value.linkText}}</span>
                <span ng-if="!value.linkText">{{value.url}}</span>
            </a>
        </li>
    </ul>
</div>